/**
 * @author phoenics@126com
 * @date 2017年11月8日 下午3:05:47
 * @version V1.0
 */

package com.jx.gocom.nlp.classify.webservice.task;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.jx.gocom.nlp.classify.webservice.service.ClassifyService;
import com.jx.gocom.nlp.classify.webservice.service.ClassifyServiceDim;

/**
 *
 */
@Component("trainData")  
public class TrainData {
	private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(TrainData.class);
	@Autowired
	ClassifyServiceDim classifyService;
	@Scheduled(cron = "0 15 1 * * ?")  
	public void trainning() {
		classifyService.retrainningData();
	}

}
